﻿<%@ Page Title="" Language="C#" MasterPageFile="~/veterinaria.Master" AutoEventWireup="true" CodeBehind="ConsultaPerros.aspx.cs" Inherits="veterinaria.web.ConsultaPerros" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 268435424px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
    <tr>
        <td colspan="3">
            <h5> Buscar mascotas por:</h5>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:CheckBox ID="chbDueño" runat="server" Text="Dueño: " CssClass=label 
                AutoPostBack="True" oncheckedchanged="chbDueño_CheckedChanged"/>
                </td>
            <td>
            <asp:DropDownList ID="ddlDueño" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>
            <asp:CheckBox ID="chbRaza" runat="server" Text="Raza" CssClass="label" 
                oncheckedchanged="chbRaza_CheckedChanged" AutoPostBack="True"/>
        </td>
        <td colspan="2">
            <asp:DropDownList ID="ddlRaza" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>
            <asp:CheckBox ID="chbNumHistClinica" runat="server" 
                Text="Número de historia Clínica" CssClass="label" AutoPostBack="True"/>
        </td>
        <td colspan="2">
            <asp:TextBox ID="txtNumHistClinica" runat="server" Width="73px"></asp:TextBox>
            <asp:CompareValidator ID="cmpNum" runat="server" 
                ControlToValidate="txtNumHistClinica" ErrorMessage="Debe ingresar un número." 
                Operator="DataTypeCheck" Type="Integer" Font-Size="X-Small" 
                ForeColor="#6666FF"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td colspan="2">
        </td>
        <td class="style1">
            <asp:Button ID="btnBuscar" runat="server" Text="Buscar" 
                onclick="btnBuscar_Click" /></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblAviso" runat="server" ForeColor="#6666FF" Font-Bold="True" 
                Font-Size="X-Small"></asp:Label>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <table class="texto">
                <tr>
                <td colspan="3">
                    <asp:GridView ID="dgvPerros" runat="server" CellPadding="4" Font-Size="Medium" 
                        ForeColor="#333333" GridLines="None" AutoGenerateSelectButton="True">
                        <AlternatingRowStyle BackColor="White" />
                        <EditRowStyle BackColor="#2461BF" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#EFF3FB" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                    </asp:GridView>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnBorrar" runat="server" Text="Borrar" 
                onclick="btnBorrar_Click" />
        </td>
        <td>
            <asp:Button ID="btnNuevo"
                runat="server" Text="Nueva Mascota" onclick="btnNuevo_Click" />
        </td>
        <td>
            <asp:Button ID="btnEditar" runat="server" Text="Editar" 
                onclick="btnEditar_Click" />
        </td>
    </tr>
</table>
        </td>
    </tr>
</table>

</asp:Content>
